#global {
    .ant-menu-light:not(.ant-menu-horizontal) {
        @bgColor: @config-menu-bg-light;
		@textColor: contrast(@bgColor,darken(@bgColor, 80%),lighten(@bgColor, 80%));
		@active-bg: mix(@bgColor, @primary-color, 80%);
		background-color: @bgColor;
		color: @textColor;
		.ant-menu-sub.ant-menu-inline {
			background-color: transparent;
		}
        .ant-menu-submenu-arrow,.app-icon-text {
            color: @textColor;
        }
		.ant-menu-item-selected {
			background-color: @active-bg;
			color: @primary-color;
			&::after {
				border-color: @primary-color;
			}
		}
		.ant-menu-item:hover,
		.ant-menu-item-active,
		.ant-menu-submenu-title:hover {
			background-color: @active-bg;
			color: @primary-color;
		}
    }
    .ant-menu-dark:not(.ant-menu-horizontal) {
        @bgColor: @config-menu-bg-dark;
        @textColor: contrast(@bgColor, darken(@bgColor, 90%), lighten(@bgColor, 90%));
        @active-bg: contrast(@primary-color, darken(@primary-color, 20%), lighten(@primary-color, 20%));
        background-color: @bgColor;
        color: @textColor;
        .ant-menu-sub.ant-menu-inline {
            background-color: transparent;
        }
        .ant-menu-submenu-arrow,.app-icon-text {
            color: @textColor;
        }
        .ant-menu-item-selected {
            background-color: @active-bg;
            color: @textColor;
            &::after {
                border-color: @textColor;
            }
        }
        .ant-menu-item:hover, .ant-menu-item-active, .ant-menu-submenu-title:hover {
            background-color: @active-bg;
            color: @textColor;
        }
    }
	// 顶部菜单主题样式
	.app-header--light
		.app-control-menu--top.app-control-appmenu
		.ant-menu-horizontal.app-control-menu__content {
        @bgColor: @config-header-bg-light;
        @textColor: contrast(@bgColor,darken(@bgColor, 80%),lighten(@bgColor, 80%));
		background-color: @bgColor;
		color: @textColor;
		.ant-menu-item-selected,
		.ant-menu-item:hover,
		.ant-menu-submenu:hover,
		.ant-menu-item-active,
		.ant-menu-submenu-active,
		.ant-menu-submenu-open,
		.ant-menu-submenu-selected {
			color: @primary-color;
			&::after {
				border-color: @primary-color;
			}
		}
		.ant-menu-submenu-title:hover {
			color: @primary-color;
		}
	}
	.app-header--dark
		.app-control-menu--top.app-control-appmenu
		.ant-menu-horizontal.app-control-menu__content {
            @bgColor: @config-header-bg-dark;
            @textColor: contrast(@bgColor,darken(@bgColor, 80%),lighten(@bgColor, 80%));
            @active-bg: contrast(@bgColor,darken(@bgColor, 20%),lighten(@bgColor, 20%));
            background-color: @bgColor;
            color: @textColor;
            .ant-menu-item-selected,
            .ant-menu-item:hover,
            .ant-menu-submenu:hover,
            .ant-menu-item-active,
            .ant-menu-submenu-active,
            .ant-menu-submenu-open,
            .ant-menu-submenu-selected {
                background-color: @active-bg;
                color: @textColor;
                &::after {
                    border-color: @textColor;
                }
            }
            .ant-menu-submenu-title:hover {
                color: @textColor;
            }
	}
    .ant-menu-submenu-popup>.ant-menu{
        background-color: transparent;
    }
}
